<!DOCTYPE html>
<html>
<%include inc/header.html%>
<body>
<!-- Table -->
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> <a href="/admin/index/welcome">首页</a><span class="c-gray en">&gt;</span> 举报列表 <a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="main" style="width:96%;margin:0 auto;">
    <div class="cl pd-5 bg-1 bk-gray mt-20" style="margin-bottom: 15px;">
        <span class="l">
            <a href="javascript:;" onclick="delsome()" class="btn btn-danger radius">
                <i class="Hui-iconfont"></i> 批量删除
            </a>
        </span>
    </div>
    <div class="dataTables_wrapper no-footer">
        <table class="table table-border table-bordered table-bg table-hover table-sort dataTable no-footer" id="DataTables_Table_0" role="grid" aria-describedby="DataTables_Table_0_info">
            <thead>
            <tr class="text-c" role="row">
                <th width="25" class="sorting_disabled" rowspan="1" colspan="1" aria-label="" style="width: 25px;">
                    <input type="checkbox" name="" value="">
                </th>
                <th width="80" class="sorting_desc" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-sort="descending" aria-label="ID: 升序排列" style="width: 80px;">ID</th>
                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="标题: 升序排列" style="width: 247px;">昵称</th>
                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="标题: 升序排列" style="width: 247px;">评论内容</th>
                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="标题: 升序排列" style="width: 247px;">邮箱</th>
                <th class="sorting" tabindex="0" aria-controls="DataTables_Table_0" rowspan="1" colspan="1" aria-label="标题: 升序排列" style="width: 247px;">评论时间</th>
                <th width="120" class="sorting_disabled" rowspan="1" colspan="1" aria-label="操作" style="width: 120px;">操作</th>
            </tr>
            </thead>
            <tbody>
            <% tiplist.forEach(function(item,i){%>
            <tr class="text-c odd" role="row">
                <td><input type="checkbox" value="<%=item.id%>" name=""></td>
                <td><%=item.id%></td>
                <td><%=item.author%></td>
                <td><%-item.comment%></td>
                <td><%=item.email%></td>
                <td><%=think.datetime(item.createtime)%></td>
                <td class="f-14 td-manage">
                    <a style="text-decoration:none" class="ml-5" href="/page/<%=item.aid%>#comment" target="_blank">查看</a>
                    <a style="text-decoration:none" class="ml-5 edit" href="/admin/user/item/<%=item.id%>" title="编辑">
                        <i class="Hui-iconfont"></i>
                    </a>
                    <a style="text-decoration:none" class="ml-5 delete" del-id="<%=item.id%>" title="删除"><i class="Hui-iconfont"></i></a>
                </td>
            </tr>
            <% })%>
            </tbody>
        </table>
    </div>
</div>
<script type="text/javascript" src="<%=_web.url%>static/src/js/business/admin/tiplist.js"></script>
</body>
</html>